#pragma once
#include "inc.h"

class GMaterial;
class Payload;

class GModel
{
public:
	GModel();
	int nFaces();
	void LoadObj(std::string szPath);
	void LoadFace(Payload& payload, int nFaceIndex);
	Matrix4f GetModelMatrix();

	GMaterial* m_pMaterial;
	std::vector<Vector3f> m_lstVerts;
	std::vector<Vector3f> m_lstNormals;
	std::vector<Vector2f> m_lstUVs;
	std::vector<std::vector<int>> m_lstFaces;
};